<?php

namespace co2\dev\v0_0_0\bash;

use co2\dev\v0_0_0 as co2;

class restart extends co2\bash

{
	public function __construct
	(
		$service
	)
	
	{
		$this->cmd="/etc/init.d/$service restart";
		
		$this->exec(new co2\RegEx('/\.\.\.done\.$/'));
	}
}
